function initMessageIndex() {
    var delay = 5000;

    //updateMessage();
    //setInterval(updateMessage, delay);
}

// ini dipanggil waktu user nge update wall-wallnya

function getAnotherPageMessage (page) {
    window.event.preventDefault();

    var ajax = new AjaxWrap();
    ajax.onLoadSuccess = function(ajax) {
        document.getElementById("wallContent").innerHTML = ajax.xhr.responseText;
    }

    ajax.openAndSend("POST", URL_BASE + "message/index/" + page, true, "ajax=true");
    return true;
}